<template>
  <div class="Login">
    <div class="login-left">
      <div  class="login-top">
        <img class="login-img"  src="~static/img/login_logo.png">
      </div>
      <div class="login-footer">
        <div class="footer-img"></div>
        <div></div>
      </div>
    </div>
    <div class="login-inner">
      <!-- <div class="login-title">
        登录
      </div> -->
      <login></login>
      <!-- <forget v-else /> -->
      <div class="login-footer">
        <span>上海玄彩美科网络科技有限公司</span>
      </div>
    </div>
  </div>
</template>

<script>
import { mapState } from 'vuex'
import menus from '@/consts/menu'
export default {
  layout: 'login',
  data(){
    return{
       form:{
         account: '',
         password:  ''
       }
    }
  },
  computed: {
    ...mapState([
      'loginBox'
    ]),
  },
  methods:{

    
  },
  created(){
    // this.login()
    
    
  },
  // beforeRouteEnter(to,from,next){
  //   if(Cookies.get('account') != null && Cookies.get('password') != null ){
  //          return  next({path: '/org'})
  //   }else{
        
  //       if(to.path === '/'){
  //         return next({path: '/'})
  //       }
  //       next()
  //   }
  // },



}
</script>

<style lang="stylus">

</style>
